package com.coderman.bean;

/**
 * Created by ${fanchunshuai} on 2017-6-28.
 *
 * @version: V1.0
 * @Desc: 数据库表 bean对象描述
 * @Copyright (c) 2017 58到家-版权所有
 */
public class DBTableBean {
    //id 主键
    private Long id;

    //表名称
    private String name;

    //数据库id DataBaseBean.id
    private Long   dbid;

    //数据库引擎 innoDB default ,,,,
    private String dbEngine;

    //字符集 utf-8 default
    private String charSet;

    //表描述
    private String content;

    //状态
    private Integer status;

    private String columnJson;



    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getDbid() {
        return dbid;
    }

    public void setDbid(Long dbid) {
        this.dbid = dbid;
    }

    public String getDbEngine() {
        return dbEngine;
    }

    public void setDbEngine(String dbEngine) {
        this.dbEngine = dbEngine;
    }

    public String getCharSet() {
        return charSet;
    }

    public void setCharSet(String charSet) {
        this.charSet = charSet;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }


    public String getColumnJson() {
        return columnJson;
    }

    public void setColumnJson(String columnJson) {
        this.columnJson = columnJson;
    }

    @Override
    public String toString() {
        return "DBTableBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", dbid=" + dbid +
                ", dbEngine='" + dbEngine + '\'' +
                ", charSet='" + charSet + '\'' +
                ", content='" + content + '\'' +
                ", status=" + status +
                ", columnJson='" + columnJson + '\'' +
                '}';
    }
}
